<!DOCTYPE html>
<html>

<head><meta name="generator" content="Hexo 3.8.0">
  
  <title>文章归档：2019/8 - 绪锋</title>
  <meta charset="UTF-8">
  <meta name="description" content="小镇青年,心怀远方">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  
  

    <!-- Site Verification -->
    <meta name="baidu-site-verification" content="cXpXJOvmtY">

  <link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon">
  <meta name="description" content="小镇青年,心怀远方">
<meta name="keywords" content="个人博客,前端,学习">
<meta property="og:type" content="website">
<meta property="og:title" content="绪锋">
<meta property="og:url" content="https://mraing.github.io/archives/2019/08/index.html">
<meta property="og:site_name" content="绪锋">
<meta property="og:description" content="小镇青年,心怀远方">
<meta property="og:locale" content="zh-CN">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="绪锋">
<meta name="twitter:description" content="小镇青年,心怀远方">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/mdui@0.4.3/dist/css/mdui.min.css">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/highlight.js@9.15.8/styles/atom-one-dark.css">
   
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css">
  
  
  <link rel="stylesheet" href="//at.alicdn.com/t/font_1038733_0xvrvpg9c0r.css">
  <link rel="stylesheet" href="/css/style.css?v=1627371789640">
</head>

<body class="mdui-drawer-body-left">
  
  <div id="nexmoe-background">
    <div class="nexmoe-bg" style="background-image: url(https://i.loli.net/2019/01/13/5c3aec85a4343.jpg)"></div>
    <div class="mdui-appbar mdui-shadow-0">
      <div class="mdui-toolbar">
        <a mdui-drawer="{target: '#drawer', swipe: true}" title="menu" class="mdui-btn mdui-btn-icon"><i class="mdui-icon material-icons">menu</i></a>
        <div class="mdui-toolbar-spacer"></div>
        <!--<a href="javascript:;" class="mdui-btn mdui-btn-icon"><i class="mdui-icon material-icons">search</i></a>-->
        <a href="/" title="LeeGeing" class="mdui-btn mdui-btn-icon"><img src="/images/avatar.jpg"></a>
       </div>
    </div>
  </div>
  <div id="nexmoe-header">
      <div class="nexmoe-drawer mdui-drawer" id="drawer">
    <div class="nexmoe-avatar mdui-ripple">
        <a href="/" title="LeeGeing">
            <img src="/images/avatar.jpg" alt="LeeGeing">
        </a>
    </div>
    <div class="nexmoe-count">
        <div><span>文章</span>82</div>
        <div><span>标签</span>28</div>
        <div><span>分类</span>8</div>
    </div>
    <ul class="nexmoe-list mdui-list" mdui-collapse="{accordion: true}">
        
        <a class="nexmoe-list-item mdui-list-item mdui-ripple" href="/" title="回到首页">
            <i class="mdui-list-item-icon nexmoefont icon-home"></i>
            <div class="mdui-list-item-content">
                回到首页
            </div>
        </a>
        
        <a class="nexmoe-list-item mdui-list-item mdui-ripple" href="/about.html" title="关于博客">
            <i class="mdui-list-item-icon nexmoefont icon-info-circle"></i>
            <div class="mdui-list-item-content">
                关于博客
            </div>
        </a>
        
        <a class="nexmoe-list-item mdui-list-item mdui-ripple" href="/PY.html" title="我的朋友">
            <i class="mdui-list-item-icon nexmoefont icon-unorderedlist"></i>
            <div class="mdui-list-item-content">
                我的朋友
            </div>
        </a>
        
    </ul>
    <aside id="nexmoe-sidebar">
  
  <div class="nexmoe-widget-wrap">
    <h3 class="nexmoe-widget-title">社交按钮</h3>
    <div class="nexmoe-widget nexmoe-social">
        <a class="mdui-ripple" href="https://space.bilibili.com/11147795" target="_blank" mdui-tooltip="{content: '哔哩哔哩'}" style="color: rgb(231, 106, 141);background-color: rgba(231, 106, 141, .15);">
            <i class="nexmoefont icon-bilibili"></i>
        </a><a class="mdui-ripple" href="https://github.com/mraing/" target="_blank" mdui-tooltip="{content: 'GitHub'}" style="color: rgb(25, 23, 23);background-color: rgba(25, 23, 23, .15);">
            <i class="nexmoefont icon-github"></i>
        </a>
    </div>
</div>
  
  
  <div class="nexmoe-widget-wrap">
    <h3 class="nexmoe-widget-title">文章分类</h3>
    <div class="nexmoe-widget">

      <ul class="category-list">

        


        

        

        <li class="category-list-item">
          <a class="category-list-link" href="/categories/React/">React</a>
          <span class="category-list-count">7</span>
        </li>

        

        <li class="category-list-item">
          <a class="category-list-link" href="/categories/TypeScript/">TypeScript</a>
          <span class="category-list-count">5</span>
        </li>

        

        <li class="category-list-item">
          <a class="category-list-link" href="/categories/Vue/">Vue</a>
          <span class="category-list-count">33</span>
        </li>

        

        <li class="category-list-item">
          <a class="category-list-link" href="/categories/前端/">前端</a>
          <span class="category-list-count">19</span>
        </li>

        

        <li class="category-list-item">
          <a class="category-list-link" href="/categories/博客/">博客</a>
          <span class="category-list-count">3</span>
        </li>

        

        <li class="category-list-item">
          <a class="category-list-link" href="/categories/工具/">工具</a>
          <span class="category-list-count">6</span>
        </li>

        

        <li class="category-list-item">
          <a class="category-list-link" href="/categories/碎碎念/">碎碎念</a>
          <span class="category-list-count">4</span>
        </li>

        

        <li class="category-list-item">
          <a class="category-list-link" href="/categories/软件设计师/">软件设计师</a>
          <span class="category-list-count">5</span>
        </li>

        
      </ul>

    </div>
  </div>


  
  
  <div class="nexmoe-widget-wrap">
    <h3 class="nexmoe-widget-title">标签云</h3>
    <div id="randomtagcloud" class="nexmoe-widget tagcloud">
      <a href="/tags/Hbuilder/" style="font-size: 10px;">Hbuilder</a> <a href="/tags/Homebrew/" style="font-size: 10px;">Homebrew</a> <a href="/tags/JS/" style="font-size: 14px;">JS</a> <a href="/tags/JSX/" style="font-size: 10px;">JSX</a> <a href="/tags/Mint-UI/" style="font-size: 10px;">Mint-UI</a> <a href="/tags/Nginx/" style="font-size: 10px;">Nginx</a> <a href="/tags/Ngnix/" style="font-size: 10px;">Ngnix</a> <a href="/tags/OpenInTerminal/" style="font-size: 10px;">OpenInTerminal</a> <a href="/tags/Sass/" style="font-size: 14px;">Sass</a> <a href="/tags/Vuex/" style="font-size: 10px;">Vuex</a> <a href="/tags/antd/" style="font-size: 10px;">antd</a> <a href="/tags/css/" style="font-size: 10px;">css</a> <a href="/tags/docsify/" style="font-size: 10px;">docsify</a> <a href="/tags/git/" style="font-size: 12px;">git</a> <a href="/tags/hexo/" style="font-size: 12px;">hexo</a> <a href="/tags/mui/" style="font-size: 18px;">mui</a> <a href="/tags/react/" style="font-size: 14px;">react</a> <a href="/tags/redux/" style="font-size: 10px;">redux</a> <a href="/tags/swiper/" style="font-size: 10px;">swiper</a> <a href="/tags/typescript/" style="font-size: 16px;">typescript</a> <a href="/tags/vue/" style="font-size: 20px;">vue</a> <a href="/tags/vux/" style="font-size: 10px;">vux</a> <a href="/tags/她/" style="font-size: 10px;">她</a> <a href="/tags/感悟/" style="font-size: 12px;">感悟</a> <a href="/tags/日记/" style="font-size: 10px;">日记</a> <a href="/tags/消息推送/" style="font-size: 10px;">消息推送</a> <a href="/tags/知识点/" style="font-size: 10px;">知识点</a> <a href="/tags/软考笔记/" style="font-size: 16px;">软考笔记</a>
    </div>
    
  </div>

  
  
  <div class="nexmoe-widget-wrap">
    <h3 class="nexmoe-widget-title">文章归档</h3>
    <div class="nexmoe-widget">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/07/">七月 2021</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/03/">三月 2021</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/10/">十月 2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/09/">九月 2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/07/">七月 2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/06/">六月 2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/04/">四月 2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/01/">一月 2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/12/">十二月 2019</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/09/">九月 2019</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/08/">八月 2019</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/07/">七月 2019</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/06/">六月 2019</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/05/">五月 2019</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/04/">四月 2019</a></li></ul>
    </div>
  </div>


  
</aside>
    <!-- <div class="nexmoe-copyright">
        &copy; 2021 LeeGeing
        Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>
        & <a href="https://nexmoe.com/hexo-theme-nexmoe.html" target="_blank">Nexmoe</a>
    </div> -->
    <div class="nexmoe-copyright">
        <a href="http://beian.miit.gov.cn/state/outPortal/loginPortal.action" target="_blank">湘ICP备16019481号</a>
        <!-- & <a href="https://nexmoe.com/hexo-theme-nexmoe.html" target="_blank">Nexmoe</a> -->
    </div>
</div><!-- .nexmoe-drawer -->
  </div>
  <div id="nexmoe-content">
    <div class="nexmoe-primary">
        <section class="nexmoe-posts" id="brand-waterfall">
    
    <div class="nexmoe-post">
        <a href="/2019/08/21/vue-lazyload图片懒加载/">
            <div class="nexmoe-post-cover mdui-ripple"> 
                
                <img src="http://images.leegeing.cn/ikons11-original.png" alt="vue-lazyload图片懒加载">
                
                <h1>vue-lazyload图片懒加载</h1>
            </div>
        </a>
        <div class="nexmoe-post-meta">
            <a><i class="nexmoefont icon-calendar-fill"></i>2019年08月21日</a>
            <a><i class="nexmoefont icon-areachart"></i>237 字</a>
            <a><i class="nexmoefont icon-time-circle-fill"></i>大概 1 分钟</a>
            
                <a class="nexmoefont icon-appstore-fill -link" href="/categories/Vue/">Vue</a>
            
            
                <a class="nexmoefont icon-tag-fill -link" href="/tags/vue/">vue</a>
            
        </div>
        <article>
            
            <blockquote>
<p>Vue模块，用于在应用程序中延迟加载图像</p>
</blockquote>
            
        </article>
    </div>
    
    <div class="nexmoe-post">
        <a href="/2019/08/21/Vue-代理请求/">
            <div class="nexmoe-post-cover mdui-ripple"> 
                
                <img src="http://images.leegeing.cn/ikons12-original.png" alt="Vue 代理请求">
                
                <h1>Vue 代理请求</h1>
            </div>
        </a>
        <div class="nexmoe-post-meta">
            <a><i class="nexmoefont icon-calendar-fill"></i>2019年08月21日</a>
            <a><i class="nexmoefont icon-areachart"></i>515 字</a>
            <a><i class="nexmoefont icon-time-circle-fill"></i>大概 2 分钟</a>
            
                <a class="nexmoefont icon-appstore-fill -link" href="/categories/Vue/">Vue</a>
            
            
                <a class="nexmoefont icon-tag-fill -link" href="/tags/vue/">vue</a>
            
        </div>
        <article>
            
            <blockquote>
<p>为什么要代理请求呢？说到底还是为了解决跨域问题。</p>
</blockquote>
            
        </article>
    </div>
    
    <div class="nexmoe-post">
        <a href="/2019/08/18/项目常用插件/">
            <div class="nexmoe-post-cover mdui-ripple"> 
                
                <img src="http://images.leegeing.cn/ikons14-original.png" alt="Vue项目常用插件">
                
                <h1>Vue项目常用插件</h1>
            </div>
        </a>
        <div class="nexmoe-post-meta">
            <a><i class="nexmoefont icon-calendar-fill"></i>2019年08月18日</a>
            <a><i class="nexmoefont icon-areachart"></i>226 字</a>
            <a><i class="nexmoefont icon-time-circle-fill"></i>大概 1 分钟</a>
            
                <a class="nexmoefont icon-appstore-fill -link" href="/categories/Vue/">Vue</a>
            
            
                <a class="nexmoefont icon-tag-fill -link" href="/tags/vue/">vue</a>
            
        </div>
        <article>
            
            <blockquote>
<p>Vue 项目常用插件集合</p>
</blockquote>
            
        </article>
    </div>
    
    <div class="nexmoe-post">
        <a href="/2019/08/14/Redux的使用/">
            <div class="nexmoe-post-cover mdui-ripple"> 
                
                <img src="http://images.leegeing.cn/ikons141-original.png" alt="Redux的基本使用">
                
                <h1>Redux的基本使用</h1>
            </div>
        </a>
        <div class="nexmoe-post-meta">
            <a><i class="nexmoefont icon-calendar-fill"></i>2019年08月14日</a>
            <a><i class="nexmoefont icon-areachart"></i>517 字</a>
            <a><i class="nexmoefont icon-time-circle-fill"></i>大概 2 分钟</a>
            
                <a class="nexmoefont icon-appstore-fill -link" href="/categories/React/">React</a>
            
            
                <a class="nexmoefont icon-tag-fill -link" href="/tags/redux/">redux</a>
            
        </div>
        <article>
            
            <blockquote>
<p>Redux 是 JavaScript 状态容器，提供可预测化的状态管理。</p>
</blockquote>
            
        </article>
    </div>
    
    <div class="nexmoe-post">
        <a href="/2019/08/13/Updating-Homebrew长时间不动的解决方法/">
            <div class="nexmoe-post-cover mdui-ripple"> 
                
                <img src="http://images.leegeing.cn/ikons142-original.png" alt="Updating Homebrew长时间不动的解决方法">
                
                <h1>Updating Homebrew长时间不动的解决方法</h1>
            </div>
        </a>
        <div class="nexmoe-post-meta">
            <a><i class="nexmoefont icon-calendar-fill"></i>2019年08月13日</a>
            <a><i class="nexmoefont icon-areachart"></i>301 字</a>
            <a><i class="nexmoefont icon-time-circle-fill"></i>大概 1 分钟</a>
            
                <a class="nexmoefont icon-appstore-fill -link" href="/categories/工具/">工具</a>
            
            
                <a class="nexmoefont icon-tag-fill -link" href="/tags/Homebrew/">Homebrew</a>
            
        </div>
        <article>
            
            <blockquote>
<p>Homebrew是Macs的软件包管理器，可以安装许多不同的软件，比如Git，Ruby和Node。</p>
</blockquote>
            
        </article>
    </div>
    
    <div class="nexmoe-post">
        <a href="/2019/08/13/React 安装 antd 组件库/">
            <div class="nexmoe-post-cover mdui-ripple"> 
                
                <img src="http://images.leegeing.cn/ikons143-original.png" alt="在React中安装Ant Design组件库">
                
                <h1>在React中安装Ant Design组件库</h1>
            </div>
        </a>
        <div class="nexmoe-post-meta">
            <a><i class="nexmoefont icon-calendar-fill"></i>2019年08月13日</a>
            <a><i class="nexmoefont icon-areachart"></i>320 字</a>
            <a><i class="nexmoefont icon-time-circle-fill"></i>大概 1 分钟</a>
            
                <a class="nexmoefont icon-appstore-fill -link" href="/categories/React/">React</a>
            
            
                <a class="nexmoefont icon-tag-fill -link" href="/tags/antd/">antd</a>
            
        </div>
        <article>
            
            <blockquote>
<p><code>Ant Design of React</code> 其中包含一组高质量的组件和演示，用于构建丰富的交互式用户界面。</p>
</blockquote>
            
        </article>
    </div>
    
    <div class="nexmoe-post">
        <a href="/2019/08/09/React-父子组件传值/">
            <div class="nexmoe-post-cover mdui-ripple"> 
                
                <img src="http://images.leegeing.cn/ikons15-original.png" alt="React 父子组件传值">
                
                <h1>React 父子组件传值</h1>
            </div>
        </a>
        <div class="nexmoe-post-meta">
            <a><i class="nexmoefont icon-calendar-fill"></i>2019年08月09日</a>
            <a><i class="nexmoefont icon-areachart"></i>189 字</a>
            <a><i class="nexmoefont icon-time-circle-fill"></i>大概 1 分钟</a>
            
                <a class="nexmoefont icon-appstore-fill -link" href="/categories/React/">React</a>
            
            
                <a class="nexmoefont icon-tag-fill -link" href="/tags/react/">react</a>
            
        </div>
        <article>
            
            <blockquote>
<p>父组件可以通过属性的方式，向子组件传递参数</p>
</blockquote>
            
        </article>
    </div>
    
    <div class="nexmoe-post">
        <a href="/2019/08/09/React组件的使用/">
            <div class="nexmoe-post-cover mdui-ripple"> 
                
                <img src="http://images.leegeing.cn/ikons230-original.png" alt="React组件的使用">
                
                <h1>React组件的使用</h1>
            </div>
        </a>
        <div class="nexmoe-post-meta">
            <a><i class="nexmoefont icon-calendar-fill"></i>2019年08月09日</a>
            <a><i class="nexmoefont icon-areachart"></i>61 字</a>
            <a><i class="nexmoefont icon-time-circle-fill"></i>大概 1 分钟</a>
            
                <a class="nexmoefont icon-appstore-fill -link" href="/categories/React/">React</a>
            
            
                <a class="nexmoefont icon-tag-fill -link" href="/tags/react/">react</a>
            
        </div>
        <article>
            
            <p>React 组件的使用与 Vue 稍微有些不同。</p>
<p>React 没有注册组件这个过程，引入就可以直接使用了</p>
<pre><code class="JS">// 引入子组件
import AddList from &#39;./component/AddList&#39;
</code></pre>
<p>然后直接在 JSX 中直接使用</p>
<pre><code class="JS">&lt;AddList/&gt;
</code></pre>

            
        </article>
    </div>
    
    <div class="nexmoe-post">
        <a href="/2019/08/09/在Vue中运用Swiper/">
            <div class="nexmoe-post-cover mdui-ripple"> 
                
                <img src="http://images.leegeing.cn/ikons264-original.png" alt="在Vue中运用Swiper">
                
                <h1>在Vue中运用Swiper</h1>
            </div>
        </a>
        <div class="nexmoe-post-meta">
            <a><i class="nexmoefont icon-calendar-fill"></i>2019年08月09日</a>
            <a><i class="nexmoefont icon-areachart"></i>391 字</a>
            <a><i class="nexmoefont icon-time-circle-fill"></i>大概 2 分钟</a>
            
                <a class="nexmoefont icon-appstore-fill -link" href="/categories/Vue/">Vue</a>
            
            
                <a class="nexmoefont icon-tag-fill -link" href="/tags/swiper/">swiper</a>
            
        </div>
        <article>
            
            <blockquote>
<p>Swiper常用于移动端网站的内容触摸滑动<br>Swiper是纯javascript打造的滑动特效插件，面向手机、平板电脑等移动终端。<br>Swiper能实现触屏焦点图、触屏Tab切换、触屏多图切换等常用效果。</p>
</blockquote>
            
        </article>
    </div>
    
    <div class="nexmoe-post">
        <a href="/2019/08/06/React-Hello-World/">
            <div class="nexmoe-post-cover mdui-ripple"> 
                
                <img src="http://images.leegeing.cn/ikons284-original.png" alt="React Hello World">
                
                <h1>React Hello World</h1>
            </div>
        </a>
        <div class="nexmoe-post-meta">
            <a><i class="nexmoefont icon-calendar-fill"></i>2019年08月06日</a>
            <a><i class="nexmoefont icon-areachart"></i>330 字</a>
            <a><i class="nexmoefont icon-time-circle-fill"></i>大概 1 分钟</a>
            
                <a class="nexmoefont icon-appstore-fill -link" href="/categories/React/">React</a>
            
            
                <a class="nexmoefont icon-tag-fill -link" href="/tags/react/">react</a>
            
        </div>
        <article>
            
            <blockquote>
<p>React 目录详解</p>
</blockquote>
            
        </article>
    </div>
    
</section>

    <nav class="nexmoe-page-nav">
      <span class="page-number current">1</span><a class="page-number" href="/archives/2019/08/page/2/">2</a><a class="extend next" rel="next" href="/archives/2019/08/page/2/"><i class="nexmoefont icon-right"></i></a>
    </nav>
  
    </div>
  </div>
  <script src="https://cdn.jsdelivr.net/npm/mdui@0.4.3/dist/js/mdui.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/jquery@3.4.1/dist/jquery.min.js"></script>
 
    <script src="https://cdn.jsdelivr.net/gh/fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.js"></script>


 
    <script src="https://cdn.jsdelivr.net/npm/smoothscroll-for-websites@1.4.9/SmoothScroll.min.js"></script>


<script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.15.8/build/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>

<script src="/js/app.js?v=1627371789646"></script>
<script src="https://cdn.jsdelivr.net/npm/lazysizes@5.1.0/lazysizes.min.js"></script>


    <script type="text/javascript" src="https://cdn.jsdelivr.net/gh/xtaodada/xtaodada.github.io@0.0.2/copy.js"></script>

  





</body>

</html>
